@charset "UTF-8";
.tabs-container {
    overflow: hidden;
}
.tabs-header {
    border-width: 1px;
    border-style: solid;
    border-bottom-width: 0;
    position: relative;
    padding: 0;
    padding-top: 2px;
    overflow: hidden;
}
.tabs-header-plain {
    border: 0;
    background: transparent;
    border: 0px;
    background: transparent;
    background: transparent;
    .tabs-tool {
        padding: 0 1px;
    }
}
.tabs-scroller-left,
.tabs-scroller-right {
    position: absolute;
    top: auto;
    bottom: 0;
    width: 18px;
    font-size: 1px;
    display: none;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
}
.tabs-scroller-left {
    left: 0;
    background: $tabs-scroller-left-background url($tabs-scroller-left-url) no-repeat 1px center;
}
.tabs-scroller-right {
    right: 0;
    background: $tabs-scroller-right-background url($tabs-scroller-right-url) no-repeat -15px center;
}
.tabs-tool {
    position: absolute;
    bottom: 0;
    padding: 1px;
    overflow: hidden;
    border-width: 1px;
    border-style: solid;
}
.tabs-wrap {
    position: relative;
    left: 0;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}
.tabs-scrolling {
    margin-left: 18px;
    margin-right: 18px;
}
.tabs-disabled {
    opacity: 0.3;
    filter: alpha(opacity=30);
}
.tabs {
    list-style-type: none;
    height: 26px;
    margin: 0px;
    padding: 0px;
    padding-left: 4px;
    width: 5000px;
    border-style: solid;
    border-width: 0 0 1px 0;
    li {
        float: left;
        display: inline-block;
        margin: 0 4px -1px 0;
        padding: 0;
        position: relative;
        border: 0;
        a {
            &.tabs-inner {
                display: inline-block;
                text-decoration: none;
                margin: 0;
                padding: 0 10px;
                height: 25px;
                line-height: 25px;
                text-align: center;
                white-space: nowrap;
                border-width: 1px;
                border-style: solid;
                -moz-border-radius: 5px 5px 0 0;
                -webkit-border-radius: 5px 5px 0 0;
                border-radius: 5px 5px 0 0;
                color: $tabs-inner-color;
                background-color: $tabs-inner-background-color;
                background: -webkit-linear-gradient(top,$tabs-inner-w-l-g1 0,$tabs-inner-w-l-g2 100%);
                background: -moz-linear-gradient(top,$tabs-inner-m-l-g1 0,$tabs-inner-m-l-g2 100%);
                background: -o-linear-gradient(top,$tabs-inner-o-l-g1 0,$tabs-inner-o-l-g2 100%);
                background: linear-gradient(to bottom,$tabs-inner-l-g1 0,$tabs-inner-l-g2 100%);
                background-repeat: repeat-x;
                filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f8f8f8,endColorstr=#eeeeee,GradientType=0);
                &:hover {
                    background: $tab-li-a-tabs-inner1-select;   //detail 进入设计页面的上面tab背景(移动或选择时)，如表单设计、规则等
                    color: $tab-li-a-tabs-inner2-select;        //detail 进入设计页面的上面tab字体(移动或选择时)，如表单设计、规则等
                    filter: none;
                }
            }
            &.tabs-close {
                width: 12px;
                right: 5px;
                opacity: 0.6;
                filter: alpha(opacity=60);
                background: url($tabs-close-background) no-repeat -34px center;
            }
        }
        &.tabs-selected {
            a {
                &.tabs-inner {
                    font-weight: bold;
                    outline: none;
                    //background-color: $tabs-selected_tabs-inner-background-color;
                    color: $tabs-selected_tabs-inner-color;     //delail tab文字颜色
                    background: $tabs-selected_tabs-inner-l-g1;  //delail tab背景颜色
//                  background: -webkit-linear-gradient(top,$tabs-selected_tabs-inner-w-l-g1 0,$tabs-selected_tabs-inner-w-l-g2 100%);
//                  background: -moz-linear-gradient(top,$tabs-selected_tabs-inner-m-l-g1 0,$tabs-selected_tabs-inner-m-l-g2 100%);
//                  background: -o-linear-gradient(top,$tabs-selected_tabs-inner-o-l-g1 0,$tabs-selected_tabs-inner-o-l-g2 100%);
//                  background: linear-gradient(to bottom,$tabs-selected_tabs-inner-l-g1 0,$tabs-selected_tabs-inner-l-g2 100%);  //tab背景颜色
//                  background-repeat: repeat-x;
                   // filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f8f8f8,endColorstr=#ffffff;,GradientType=0);
                    border-bottom: 1px solid $tabs-selected_tabs-inner-solid;
                }
                &:hover {
                    &.tabs-inner {
                        cursor: default;
                        pointer: default;
                    }
                }
            }
        }
    }
}
.tabs li a.tabs-close,
.tabs-p-tool {
    position: absolute;
    font-size: 1px;
    display: block;
    height: 12px;
    padding: 0;
    top: 50%;
    margin-top: -6px;
    overflow: hidden;
}
.tabs-p-tool {
    right: 16px;
    a {
        display: inline-block;
        font-size: 1px;
        width: 12px;
        height: 12px;
        margin: 0;
        opacity: 0.6;
        filter: alpha(opacity=60);
    }
}
.tabs li a:hover.tabs-close,
.tabs-p-tool a:hover {
    opacity: 1;
    filter: alpha(opacity=100);
    cursor: hand;
    cursor: pointer;
}
.tabs-with-icon {
    padding-left: 18px;
}
.tabs-icon {
    position: absolute;
    width: 16px;
    height: 16px;
    left: 10px;
    top: 50%;
    margin-top: -8px;
}
.tabs-title {
    font-size: 12px;
}
.tabs-closable {
    padding-right: 8px;
}
.tabs-panels {
    margin: 0px;
    padding: 0px;
    border-width: 1px;
    border-style: solid;
    border-top-width: 0;
    overflow: hidden;
}
.tabs-header-bottom {
    border-width: 0 1px 1px 1px;
    padding: 0 0 2px 0;
    .tabs {
        border-width: 1px 0 0 0;
        li {
            margin: -1px 4px 0 0;
            a {
                &.tabs-inner {
                    -moz-border-radius: 0 0 5px 5px;
                    -webkit-border-radius: 0 0 5px 5px;
                    border-radius: 0 0 5px 5px;
                }
            }
            &.tabs-selected {
                a {
                    &.tabs-inner {
                        background: -webkit-linear-gradient(top,$tabs-header-bottom_tabs-inner-w-l-g1 0,$tabs-header-bottom_tabs-inner-w-l-g2 100%);
                        background: -moz-linear-gradient(top,$tabs-header-bottom_tabs-inner-m-l-g1 0,$tabs-header-bottom_tabs-inner-m-l-g1 100%);
                        background: -o-linear-gradient(top,$tabs-header-bottom_tabs-inner-o-l-g1 0,$tabs-header-bottom_tabs-inner-o-l-g2 100%);
                        background: linear-gradient(to bottom,$tabs-header-bottom_tabs-inner-l-g1 0,$tabs-header-bottom_tabs-inner-l-g2 100%);
                        background-repeat: repeat-x;
                        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#f8f8f8,GradientType=0);
                        border-top: 1px solid $tabs-header-bottom_tabs-inner-solid;
                    }
                }
            }
        }
    }
    .tabs-tool {
        top: 0;
    }
}
.tabs-header-bottom .tabs-scroller-left,
.tabs-header-bottom .tabs-scroller-right {
    top: 0;
    bottom: auto;
}
.tabs-panels-top {
    border-width: 1px 1px 0 1px;
}
.tabs-header-left {
    float: left;
    border-width: 1px 0 1px 1px;
    padding: 0;
    .tabs {
        height: 100%;
        padding: 4px 0 0 4px;
        border-width: 0 1px 0 0;
        li {
            left: auto;
            right: 0;
            margin: 0 -1px 4px 0;
            float: right;
            a {
                &.tabs-inner {
                    display: block;
                    text-align: left;
                    -moz-border-radius: 5px 0 0 5px;
                    -webkit-border-radius: 5px 0 0 5px;
                    border-radius: 5px 0 0 5px;
                    background:$tabs-header-left-li-tabs-inner-background;  //detail tab按钮背景
                    color:$tabs-header-left-li-tabs-inner-color;            //detail tab按钮字体
                }
            }
            &.tabs-selected {
                a {
                    &.tabs-inner {
                        background:$tabs-header-left-li-tabs-inner-background-selected;  //detail tab按钮背景(选择时)
                        color:$tabs-header-left-li-tabs-inner-color-selected;            //detail tab按钮字体(选择时)
//                      background: -webkit-linear-gradient(left,$tabs-header-left_tabs-inner-w-l-g1 0,$tabs-header-left_tabs-inner-w-l-g2 100%);
//                      background: -moz-linear-gradient(left,$tabs-header-left_tabs-inner-m-l-g1 0,$tabs-header-left_tabs-inner-m-l-g2 100%);
//                      background: -o-linear-gradient(left,$tabs-header-left_tabs-inner-o-l-g1 0,$tabs-header-left_tabs-inner-o-l-g2 100%);
//                      background: linear-gradient(to right,$tabs-header-left_tabs-inner-l-g1 0,$tabs-header-left_tabs-inner-l-g2 100%);
//                      background-repeat: repeat-y;
//                      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f8f8f8,endColorstr=#ffffff,GradientType=1);
//                      border-right: 1px solid $tabs-header-left_tabs-inner-solid;
                    }
                }
            }
        }
    }
}
.tabs-header-right {
    float: right;
    border-width: 1px 1px 1px 0;
    padding: 0;
    .tabs {
        height: 100%;
        padding: 4px 4px 0 0;
        border-width: 0 0 0 1px;
        li {
            left: 0;
            right: auto;
            margin: 0 0 4px -1px;
            float: left;
            a {
                &.tabs-inner {
                    display: block;
                    text-align: left;
                    -moz-border-radius: 0 5px 5px 0;
                    -webkit-border-radius: 0 5px 5px 0;
                    border-radius: 0 5px 5px 0;
                }
            }
            &.tabs-selected {
                a {
                    &.tabs-inner {
                        background: -webkit-linear-gradient(left,$tabs-header-right_tabs-inner-w-l-g1 0,$tabs-header-right_tabs-inner-w-l-g2 100%);
                        background: -moz-linear-gradient(left,$tabs-header-right_tabs-inner-m-l-g1 0,$tabs-header-right_tabs-inner-m-l-g2 100%);
                        background: -o-linear-gradient(left,$tabs-header-right_tabs-inner-o-l-g1 0,$tabs-header-right_tabs-inner-o-l-g2 100%);
                        background: linear-gradient(to right,$tabs-header-right_tabs-inner-l-g1 0,$tabs-header-right_tabs-inner-l-g2 100%);
                        background-repeat: repeat-y;
                        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#f8f8f8,GradientType=1);
                        border-left: 1px solid $tabs-header-right_tabs-inner-solid;
                    }
                }
            }
        }
    }
}
.tabs-header-left .tabs-wrap,
.tabs-header-right .tabs-wrap {
    height: 100%;
}
.tabs-header-left .tabs li,
.tabs-header-right .tabs li {
    display: block;
    width: 100%;
    position: relative;
}
.tabs-panels-right {
    float: right;
    border-width: 1px 1px 1px 0;
}
.tabs-panels-left {
    float: left;
    border-width: 1px 0 1px 1px;
}
.tabs-header-noborder,
.tabs-panels-noborder {
    border: 0px;
}
.tabs-header,
.tabs-tool {
    background-color: $tabs-header_tabs-tool-background-color;
}
.tabs-header,
.tabs-scroller-left,
.tabs-scroller-right,
.tabs-tool,
.tabs,
.tabs-panels,
.tabs li a.tabs-inner,
.tabs li.tabs-selected a.tabs-inner,
.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner,
.tabs-header-left .tabs li.tabs-selected a.tabs-inner,
.tabs-header-right .tabs li.tabs-selected a.tabs-inner {
    border-color: $tabs-selected_a_tabs-inner-border-color;  //detail tab边框颜色
}
.tabs-p-tool a:hover,
.tabs li a:hover.tabs-close,
.tabs-scroller-over {
    background-color: $tabs-scroller-over-background-color;
}

.tabs li a.tabs-inner {//detail 
    color:$tab-li-a-tabs-inner2;       //进入设计页面的上面tab字体，如表单设计、规则等
    background:$tab-li-a-tabs-inner1;  //进入设计页面的tab，如表单设计、规则等
}